Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netplay: assorted minor fixes #3696

Merged
merged 9 commits into from
Mar 26, 2024

Conversation

ManManson
Copy link
Member

@ManManson ManManson commented Mar 21, 2024

  • Moved WZFile to a separate source file. WZFile should probably be renamed to WZDownloadingFile or something like that, but I've decided to keep its name for a bit longer. At least moving it to a separate file looks better than before.
  • Also moved syncDebug* related functions to a separate source file.
  • Removed some unused functions from netplay.h and netsocket.h

Signed-off-by: Pavel Solodovnikov [email protected]

@ManManson ManManson requested a review from past-due March 21, 2024 15:42
@ManManson ManManson force-pushed the netplay_minor_refactoring branch from 1904bbc to 03dbe51 Compare March 21, 2024 15:43
`socketArrayOpen` and `socketArrayClose` weren't used
anywhere, so remove them.

Signed-off-by: Pavel Solodovnikov <[email protected]>
Signed-off-by: Pavel Solodovnikov <[email protected]>
Signed-off-by: Pavel Solodovnikov <[email protected]>
@ManManson ManManson force-pushed the netplay_minor_refactoring branch from dcc7ca5 to c3bf828 Compare March 25, 2024 14:28
@ManManson ManManson added this to the 4.5.0-beta1 milestone Mar 25, 2024
@ManManson ManManson force-pushed the netplay_minor_refactoring branch from c3bf828 to 5533421 Compare March 25, 2024 15:33
It's not used outside of `netplay.cpp`, so can be made `static`.

Signed-off-by: Pavel Solodovnikov <[email protected]>
@ManManson ManManson force-pushed the netplay_minor_refactoring branch from 5533421 to 30894f2 Compare March 25, 2024 16:47
@past-due past-due merged commit 492a222 into Warzone2100:master Mar 26, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants